Use CRPEJob::GetNGroupSortFields to determine the number of group sort fields in the specified report. This method is typically used as one of a series of calls (GetNGroupSortFields, called once; CRPEJob::GetNthGroupSortField, called as many times as needed to identify the correct group sort field; and CRPEJob::SetNthGroupSortField, called once when the correct sort field is identified). This sequence of calls can be used to identify and then change an existing group sort field and/or sort order in response to a user selection at print time.
Seagate Software IMG Holdings, Inc. http://www.seagatesoftware.com Support services: http://support.seagatesoftware.com |